adding click listeners