added snippets to tree