function distributeExternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, X3Ddatasets.EventReturns memory _eventData_)
        private
        returns(X3Ddatasets.EventReturns)
    {
        

        uint256 _p1 = _eth / 100;
        uint256 _com = _eth / 50;
        _com = _com.add(_p1);

        uint256 _XCOM;
        if (!address(comBankAddr_).call.value(_com)())
        {
            _XCOM = _com;
            _com = 0;
        }
        
    
        
        uint256 _aff = _eth / 10;
        
        
        
        if (_affID != _pID && plyr_[_affID].name != '') {
            plyr_[_affID].aff = _aff.add(plyr_[_affID].aff);
            emit X3Devents.onAffiliatePayout(_affID, plyr_[_affID].addr, plyr_[_affID].name, _rID, _pID, _aff, now);
        } else {
           _XCOM = _XCOM.add(_aff);
        }
        
        
        _XCOM = _XCOM.add((_eth.mul(fees_[_team].XCOM)) / (100));
        if (_XCOM > 0)
        {
            comBankAddr_.transfer(_XCOM);
            
            
            _eventData_.XCOMAmount = _XCOM.add(_eventData_.XCOMAmount);
        }
        
        return(_eventData_);
    }