what is the difference between a switch and a plug and key