changed check boxes to check buttons