modified to snippets.