sloppy code but I couldn't figure out a way around making a button callback method for each button