add scope snippets