addding snippets