delete unused code.