removed unused snippets and updated used ones