removing unused code.