Added function to checkboxes