adding click events