change scope so snippets work