added coupon, refactored imports on Internal.hs