HW2-2: changing the view to add checkboxes