This should not be very difficult and what have you thought of as a logic