Works with different values for discounts