change if statements to strings