sample snippets