anchor.diff:               failed
            end.
   
  -
  -
  -
  -
   find_all_groups([], Set) ->
       Set;
   find_all_groups([{{InstanceId, _}, _} | Rest], Set) ->
  
positive.code: %% @doc register a process with InstanceId and Name
  %% @spec register_process(term(), term(), pid()) -> ok
  register_process(InstanceId, Name, Pid) ->
      
      erlang:put(instance_id, InstanceId),
      erlang:put(instance_name, Name),
      cs_send:send_local(get_pid() , {register_process, InstanceId, Name, Pid}),
  
negative.code: -spec(lookup_process/1 :: (pid()) -> {any(), any()} | failed).
  lookup_process(Pid) ->
      case ets:match(?MODULE, {'$1',Pid}) of
          [[{Group, Name}]] ->
              {Group, Name};
          [] ->
              failed
      end.
  
  %% @doc tries to find a cs_node process
  