Changing If to Switch

mostly I guess