adding click event

adding click event