do and if then else (Ticket 23)