request view refactoring