Gates and Switches