got the buttons working