Breaking the code

Adding missing breaks to a switch statement