removes snippets left over from refactoring