removed unused snippets