else if statements to switch statements.