Transform if structure to one switch.
Transform if structure to one switch.