How we calculate payoff