add snippet example