function distributeExternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, RP1datasets.EventReturns memory _eventData_)
        private
        returns(RP1datasets.EventReturns)
    {
        
        uint256 _com = _eth / 50;
        uint256 _rp1;

         
        community_addr.transfer(_com);
        
        
        uint256 _long = _eth / 100;
        
        marketing_addr.transfer(_long);

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