Coupon and state_machine