function _createAvatar(address _owner, string _name, uint256 _dna) private returns(uint256 _tokenId) {
    require(_owner != address(0));
    Avatar memory avatar = Avatar(_name, _dna);
    _tokenId = avatars.push(avatar);
    _mint(_owner, _tokenId);
  }