in the midle of the process of refactoring