anchor.diff:      Env = Cf#config.agent_env,
       Funstats = Env:stats(),
       Stats = mas_misc_util:determine_behaviours(Cf) ++ [Name || {Name, _MapFun, _ReduceFun, _InitVal} <- Funstats],
  -    Dict = prepareDictionary(lists:reverse(Keys), dict:new(), Cf#config.log_dir, Stats),
  +    Dict = prepare_dictionary(lists:reverse(Keys), dict:new(), Cf#config.log_dir, Stats),
       {ok, #state{fds = Dict,
                   funstats = Funstats,
                   counters = create_counter(Keys, Cf),
  
positive.code:                 end, dict:new(), Keys).
  
  
  -spec logIsland(pid() | pos_integer(), [tuple()], counter(), [funstat()]) -> counter().
  logIsland(_Key, [], Counter, _Funstats) ->
      Counter;
  
  logIsland(Key, [{Stat, FD}|FDs], Counter, Funstats) ->
      Value = dict:fetch(Stat, Counter),
      file:write(FD, io_lib:fwrite("~p ~p ~p\n", [Stat, Key, Value])),
      NewCounter = case lists:keyfind(Stat, 1, Funstats) of
  
negative.code: handle_info(timer, St = #state{fds = FDs, counters = Counters, funstats = Funstats}) ->
      NewCounters = dict:map(fun(Key, CounterDict) ->
                                     FDDict = dict:fetch(Key, FDs),
                                     log_island(Key, dict:to_list(FDDict), CounterDict, Funstats)
                             end, Counters),
      {noreply, St#state{counters = NewCounters}, St#state.timeout};
  
  