function buyXname(bytes32 _affCode, uint256 _team)
            isActivated()
            isHuman()
            isWithinLimits(msg.value)
            public
            payable
        {
            
            F3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);
            
            
            uint256 _pID = pIDxAddr_[msg.sender];
            
            
            uint256 _affID;
            
            if (_affCode == '' || _affCode == plyr_[_pID].name)
            {
                
                _affID = plyr_[_pID].laff;

            
            } else {
                
                _affID = pIDxName_[_affCode];
                
                
                if (_affID != plyr_[_pID].laff)
                {
                    
                    plyr_[_pID].laff = _affID;
                }
            }
            
            
            _team = verifyTeam(_team);
            
            
            buyCore(_pID, _affID, 2, _eventData_);
        }