anchor.diff:                      Values ->
                           set_default_values(Client1, Values)
                   end,
  -    {Name, FinalClient} = validate_name_or_rename(Client2, ReqName),
  +    {Name, FinalClient} = check_name_values(Client2, ReqName),
       valid_name_format(Name),
       validate_client(FinalClient, Name).
   
  
positive.code:             throw({client_name_mismatch})
      end.
  
  validate_name_or_rename(Client, ReqName) ->
      Name = ej:get({<<"name">>}, Client),
      case {Name, ReqName} of
          {undefined, undefined} ->
  
negative.code:         {undefined, _} ->
              {ReqName, ej:set({<<"name">>}, ej:set({<<"clientname">>},
                                                    Client, ReqName), ReqName)};
          {_, _} ->
              {Name, Client}
      end.
  
  validate_client(Client, Name) ->
  