adds On/Off Switch Control