Switch if statements

used if statements instead of switch statements
Dont' know why it didnt' update with the others...