Worked out payout math