got checkboxes working dynamically