Discounts commit

Commit correct code for problem Discounts.