Closed the switch