adding a button click to simulate user action