in reply to Confused by a Conditional

this looks like a job for Switch