changed checkbox to buttons