added snippets to original project