made the buttons into an array