Now uses DiscountCpp