Refactored request history