refactoring processor