// added disabled state for switch