Added payoff reference code