removed useless snippets