mainctrl switch