-removing unused code