switch { } need help

Default is not needed, if not present, and none of your cases matchs, nothing will be executed by that switch.