Refactoring request response