How to add the formula from the coupon code to the calculations.