Missing breaks in switch for output.