getCapacity