all the buttons work correctly