removed some unused snippets