adding if-else assignment, AKA the switch assignment, because switch is wonderful.