getting the buttons set up