function _play() private
    {
        uint256 luckyNumber = random(1, betsNum);
        uint256 winnerID = betsNumAgentId[luckyNumber - 1];
        address winnerAddress = getAgentAdress(winnerID);
        uint256 jackpotBankWEI = betsNum * betSizeFINNEY * 1000000000000000;
        uint256 overWEI = bankBalanceWEI - jackpotBankWEI;
        uint256 commissionWEI;
        if (commissionType)
        {
            commissionWEI = (jackpotBankWEI/100) * commissionPCT;
        }
        else
        {
            commissionWEI = (betsNum - getAgentBetsSum(winnerID)) * (betSizeFINNEY * 1000000000000000) / 100 * commissionPCT;
        }
        winnerAddress.transfer(jackpotBankWEI - commissionWEI);
        commissionBalanceWEI = commissionBalanceWEI + commissionWEI;
        overBalanceWEI = overBalanceWEI + overWEI;
        Winner(winnerAddress, winnerID, roundNum, getAgentBetsSum(winnerID), getAgentBankBalanceWEI(winnerID), jackpotBankWEI - commissionWEI, luckyNumber);
        bankBalanceWEI = 0;
        betsNum = 0;
        roundNum++;
        delete agentIdAddress;
        delete agentIdBetsSum;
        delete agentIdBankBalanceWEI;
        delete betsNumAgentId;
    }