setCapacity