trying to sort out checkboxes