modifying snippets