working on coupon send logic