Fixed missing ')' on the switches.