commented the switch statement