making adjustments to the switch