changes for checkbox selection