rename numAllocations to allocationsInProgress