change E-field control to OnOffSwitch