function createWinner() public onlyOwner jackpotAreActive {
        require(tempPlayer.length > 0);
        uint random = rand() % tempPlayer.length;
        address winner = tempPlayer[random];
        winnerHistory[JackpotPeriods] = winner;
        uint64 tmNow = uint64(block.timestamp);
        nextJackpotTime = tmNow + 72000;
        tempPlayer.length = 0;
        sendJackpot(winner, address(this).balance * jackpotPersent / 1000);
        JackpotPeriods += 1;
    }