Added functionality for discounts
Added functionality for discounts