refactoring request processing