made the if statements and elif and else