refactoring request and requests.