trying to figure out a good way to read the buttons