selecting the buttons by class