changed form to checkboxes