wiring up the center on/off checkbox