Forgot to add break statements to a switch statement