added click function
added caption function