Committing conditionals homework