got the buttons to work