smart coupon handling