set up and apply discounts