documentation for payout logic