added code for creating coupon