adding zerophase switch