anchor.diff:  start_link(Idx) -> gen_fsm:start_link(?MODULE, [Idx], []).
   
   init([VNodeIndex]) ->
  +    io:format("~p init~n",[VNodeIndex]),
       Mod = riak:get_app_env(storage_backend),
       Configuration = riak:get_app_env(),
       {ok, ModState} = Mod:start(VNodeIndex, Configuration),
  
positive.code: do_list_handoff(TargetNode, BKeyList, StateData=#state{idx=Idx}) ->
      case BKeyList of
          [] ->
              delete_and_exit(StateData);
          _ ->
              riak_handoff_sender:start_link(TargetNode, Idx, BKeyList),
              {next_state,active,StateData#state{handoff_q=[]},?TIMEOUT}
      end.
  
  %% @private
  delete_and_exit(StateData=#state{mod=Mod, modstate=ModState}) ->
      ok = Mod:drop(ModState),
      {stop, normal, StateData}.
  
  
negative.code:     Me = node(),
      case riak_ring:index_owner(MyRing, Idx) of
          Me ->
              io:format("~p hometest home~n",[Idx]),
              {next_state,active,StateData#state{handoff_q=not_in_handoff},
               ?TIMEOUT};
          TargetNode ->
              case net_adm:ping(TargetNode) of
                  pang -> 
                      io:format("~p hometest pang~n",[Idx]),
                      {next_state,active,StateData,?TIMEOUT};
                  pong -> 
                      case HQ of
                          not_in_handoff ->
                              io:format("~p hometest dh~n",[Idx]),
                              do_handoff(TargetNode, StateData);
                          _ ->
                              io:format("~p hometest dLh~n",[Idx]),
                              do_list_handoff(TargetNode, HQ, StateData)
                      end
              end
  