function betByEth(bool _method,uint256 _prediction) public payable registered() {
        History memory _history;
        address _sender = msg.sender;
        uint256 _value = msg.value;
        require(_value>=MIN&&_value<=MAX);
        
        
        
        uint256 _seed = getSeed();
        uint256 _winnumber = Helper.getRandom(_seed, 100);
        uint256 _valueForRef = _value*15/1000;
        uint256 _win_value;
        if(_method){
            require(_prediction>0&&_prediction<96);
            citizenSpendEth[_sender] = _value.add(citizenSpendEth[_sender]);
            DAAContract.pushDividend.value(_value)();
            DAAContract.pushGameRefIncome(_sender,1,_valueForRef);
            if (_winnumber<_prediction){
                _win_value = _value.mul(MULTIPLIES).div(10).div(_prediction);
                
                DAAContract.payOut(_sender,0,_win_value,_value);
                totalPayout = totalPayout.add(_win_value);
                _history = addToHistory(_sender,_prediction,_method,_winnumber,true,_value,_win_value,0);
            } else {
                citizenContract.addGameEthSpendLose(_sender,_value);
                _history = addToHistory(_sender,_prediction,_method,_winnumber,false,_value,0,0);
            }
            
        }else{
            require(_prediction>3&&_prediction<99);
            citizenSpendEth[_sender] = _value.add(citizenSpendEth[_sender]);
            DAAContract.pushDividend.value(_value)();
            DAAContract.pushGameRefIncome(_sender,1,_valueForRef);
            if (_winnumber>_prediction){
                _win_value = _value.mul(MULTIPLIES).div(10).div(99-_prediction);
                
                DAAContract.payOut(_sender,0,_win_value,_value);
                totalPayout = totalPayout.add(_win_value);
                _history = addToHistory(_sender,_prediction,_method,_winnumber,true,_value,_win_value,0);
            } else {
                citizenContract.addGameEthSpendLose(_sender,_value);
                _history = addToHistory(_sender,_prediction,_method,_winnumber,false,_value,0,0);
            }
        }
        sortMostSpend(_sender);
    }