added button event listener