add breaks to switch