anchor.diff:  handle_cast(shutdown, State) ->
       io:format("Generic cast: *shutdown* while in '~p'~n",[State]),
       {stop, normal, State};
  -%% generic
  +%% Generic
   handle_cast(Msg, State) ->
       io:format("Generic cast: '~p' while in '~p'~n",[Msg, State]),
       {noreply, State}.
   
  -
  +%% Generic
   handle_call(Msg, From, State) ->
       io:format("Generic call: '~p' from '~p' while in '~p'~n",[Msg, From, State]),
       {reply, ok, State}.
  -
   
   handle_info({loading, list, <<Key/binary>>, [FirstElem|_]}, State) ->
       io:format("key '~s' -> elem '~p' ~n", [Key, FirstElem]),
  
positive.code:     try initial() of
          {ok, Sock} ->
              gen_server:cast(self(), repl),
              {ok, #state{socket=Sock, state=init}};
          {error, timeout} ->
              io:format("timeout"),
              {stop, timeout};
  
negative.code: handle_info({loading, eof}, State) ->
      io:format("rdb synchronization completed ~n"),
      {noreply, State};
  %%Generic
  handle_info(Msg, State) ->
      io:format("Generic info: '~p' '~p'~n",[Msg, State]),
      {noreply, State}.
  