updated snippets.