functional prototype with checkboxes