mostly changes for checkbox processing