removed duplicate snippets