add the click events