Finishing teddit_conditional code