change the location of the switch