Cleaner Code: createCheckboxes is now more comprehensible.