Reindented the switch body