checkboxes code to close #20