replace conditionals with a switch.