compile checkboxes