added basic implementation of checkboxes (functional)