refactor volunteer dilemma payoff function