correct snippets