added snippets