My attempt at conditionals