missed closing the switch statement