work in progress
changed buttonClick to onButtonClick