removed repeated snippets