Quantity control