added break to the switch