anchor.diff:      {noreply, State}.
   
   
  -%% handle_info/2
  -%% ====================================================================
  -%% @doc <a href="http://www.erlang.org/doc/man/gen_server.html#Module:handle_info-2">gen_server:handle_info/2</a>
  +%%--------------------------------------------------------------------
  +%% @private
  +%% @doc
  +%% Handling all non call/cast messages
  +%% @end
  +%%--------------------------------------------------------------------
   -spec handle_info(Info :: timeout | term(), State :: term()) -> Result when
  -    Result :: {noreply, NewState}
  -    | {noreply, NewState, Timeout}
  -    | {noreply, NewState, hibernate}
  -    | {stop, Reason :: term(), NewState},
  -    NewState :: term(),
  -    Timeout :: non_neg_integer() | infinity.
  -%% ====================================================================
  +      Result :: {noreply, NewState}
  +              | {noreply, NewState, Timeout}
  +              | {noreply, NewState, hibernate}
  +              | {stop, Reason :: term(), NewState},
  +      NewState :: term(),
  +      Timeout :: non_neg_integer() | infinity.
   handle_info({timer, Msg}, State) ->
       gen_server:cast({global, ?CCM}, Msg),
       {noreply, State};
  
positive.code:     NewNodes = lists:filter(fun(N) -> not lists:member(N, State1#cm_state.nodes) end, SavedState#cm_state.nodes),
  
      CreateNewState = fun(Node, {TmpState, TmpWorkersFound}) ->
          case State#cm_state.state_monitoring of
              on ->
                  erlang:monitor_node(Node, true);
              off -> ok
          end,
          case catch check_node(Node, TmpState) of
              {ok, NewState, WorkersFound} ->
                  case State#cm_state.state_monitoring of
                      on ->
                          erlang:monitor_node(Node, true);
                      off -> ok
                  end,
                  {NewState#cm_state{nodes = [Node | NewState#cm_state.nodes]}, TmpWorkersFound orelse WorkersFound};
              Error ->
                  ?warning_stacktrace("Checking node ~p error: ~p", [Node, Error]),
                  {State, TmpWorkersFound}
          end
      end,
      {MergedState, IncrementNum} = lists:foldl(CreateNewState, {State1, false}, NewNodes),
  
      MergedState2 = case IncrementNum of
  
negative.code:     end,
      {State#cm_state{workers = NewWorkers, nodes = NewNodes}, WorkersFound}.
  
  %%--------------------------------------------------------------------
  %% @private
  %% @doc
  %% This function updates cluster state on the basis of data read
  %% from DB.
  %% @end
  %%--------------------------------------------------------------------
  -spec merge_state(State :: term(), SavedState :: term()) -> NewState when
        NewState :: term().
  merge_state(State, SavedState) ->
      ?debug("Merging state, current: ~p, saved: ~p", [State, SavedState]),
      StateNum = erlang:max(State#cm_state.state_num, SavedState#cm_state.state_num) + 1,
  