changed checkboxes to buttons