adding some snippets