click funtionality added