Put code in collections for checkboxes