change event back to onClick