change snippets, and add ext