discount should be discount_rate