changed pendingRequests to pendingOperations