Renamed volume to quantity
Renamed maxVolume to capacity