click function added