added snippets to web mode