discounts problem