anchor.diff:      end,
       lists:foreach(FWrite, RegistryProcessesInfo).
   
  --spec purge_registry_double_processes(
  -    RegistryConflictingProcessCallbackModule :: atom(),
  -    RegistryConflictingProcessCallbackFunction :: atom(),
  -    DoubleRegistryProcessesInfo :: list()
  -) -> ok.
  -purge_registry_double_processes(undefined, _, DoubleRegistryProcessesInfo) ->
  -    F = fun({Key, LocalProcessPid, _LocalProcessMeta}) ->
  -        error_logger:warning_msg("Found a double process for ~s, killing it on local node ~p", [Key, node()]),
  -        exit(LocalProcessPid, kill)
  -    end,
  -    lists:foreach(F, DoubleRegistryProcessesInfo);
  -purge_registry_double_processes(RegistryConflictingProcessCallbackModule, RegistryConflictingProcessCallbackFunction, DoubleRegistryProcessesInfo) ->
  -    F = fun({Key, LocalProcessPid, LocalProcessMeta}) ->
  -        spawn(
  -            fun() ->
  -                error_logger:warning_msg("Found a double process for ~s, about to trigger callback on local node ~p", [Key, node()]),
  -                RegistryConflictingProcessCallbackModule:RegistryConflictingProcessCallbackFunction(Key, LocalProcessPid, LocalProcessMeta)
  -            end)
  -    end,
  -    lists:foreach(F, DoubleRegistryProcessesInfo).
  -
   -spec stitch_group_tab(RemoteNode :: atom()) -> ok.
   stitch_group_tab(RemoteNode) ->
       %% get remote processes info
  
positive.code:     DoubleRegistryProcessesInfo = lists:foldl(F, [], RemoteRegistryProcessesInfo),
  
      %% send to syn_consistency gen_server to handle double processes once merging is done
      ?MODULE ! {purge_registry_double_processes, DoubleRegistryProcessesInfo},
  
      %% compute local processes without doubles
      LocalRegistryProcessesInfo1 = ets:tab2list(Tab),
  
negative.code:         })
      end,
      lists:foreach(FWrite, GroupsRegistryProcessesInfo).
  
  -spec handle_purged_registry_double_processes(
      RegistryConflictingProcessCallbackModule :: atom(),
      RegistryConflictingProcessCallbackFunction :: atom(),
      DoubleRegistryProcessesInfo :: list()
  ) -> ok.
  handle_purged_registry_double_processes(undefined, _, DoubleRegistryProcessesInfo) ->
      F = fun({Key, LocalProcessPid, _LocalProcessMeta}) ->
          error_logger:warning_msg("Found a double process for ~s, killing it on local node ~p", [Key, node()]),
          exit(LocalProcessPid, kill)
          end,
      lists:foreach(F, DoubleRegistryProcessesInfo);
  handle_purged_registry_double_processes(RegistryConflictingProcessCallbackModule, RegistryConflictingProcessCallbackFunction, DoubleRegistryProcessesInfo) ->
      F = fun({Key, LocalProcessPid, LocalProcessMeta}) ->
          spawn(
              fun() ->
                  error_logger:warning_msg("Found a double process for ~s, about to trigger callback on local node ~p", [Key, node()]),
                  RegistryConflictingProcessCallbackModule:RegistryConflictingProcessCallbackFunction(Key, LocalProcessPid, LocalProcessMeta)
              end)
          end,
      lists:foreach(F, DoubleRegistryProcessesInfo).
  