added the buttons for control