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

        
        uint256 _bbt;
        
        
        uint256 _aff = _eth / 10;
        
        
        
        if (_affID != _pID && plyr_[_affID].name != '') {
            plyr_[_affID].aff = _aff.add(plyr_[_affID].aff);
            emit BBTevents.onAffiliatePayout(_affID, plyr_[_affID].addr, plyr_[_affID].name, _rID, _pID, _aff, now);
        } else {
            _bbt = _aff;
        }
        
        
        _bbt = _bbt.add((_eth.mul(fees_[_team].bbt)) / (100));
        if (_bbt > 0)
        {
            
            BBTAddress.transfer(_bbt);
            
            
            _eventData_.BBTAmount = _bbt.add(_eventData_.BBTAmount);
        }
        
        return(_eventData_);
    }