added the buttons array.