that should be outside the switch