put the buttons into an array