classes to change the location of switches