switch between snippets