getAllRequests() while not if