change some snippets