Added support for discounts