new controller for checkboxes