remove refactored code.