wrote the 'listRequests' method