local snippets