function lottery() public 
    {
        require(now > deadline);
        require(tx.origin == msg.sender);
        uint256 balance = SafeMath.div(SafeMath.mul(this.balance, 90), 100);
        administrator.send(SafeMath.div(SafeMath.mul(this.balance, 5), 100));
        uint8[10] memory profit = [30,20,10,8,7,5,5,5,5,5];
        for(uint256 idx = 0; idx < 10; idx++){
            if(rankList[idx] != 0){
                rankList[idx].send(SafeMath.div(SafeMath.mul(balance,profit[idx]),100));
            }
        }
        startNewRound();
    }