added scope for a few snippets