changed snippets with tokens