anchor.diff:              {reply, {error, unknown_key}, S0}
       end;
   
  -handle_call({get_closets_dcid, BKey}, _From, S0=#state{groups=RGroups, myid=MyId, tree=Tree}) ->
  +handle_call({get_closest_dcid, BKey}, _From, S0=#state{groups=RGroups, myid=MyId, tree=Tree}) ->
       {Bucket, _Key} = BKey,
       case dict:find(Bucket, RGroups) of
           {ok, Value} ->
  
positive.code:          get_bucket_sample/0,
           is_leaf/1,
           get_closest_dcid/1,
           do_replicate/1]).
  
  -record(state, {groups,
  
negative.code: 
  get_bucket_sample() ->
      gen_server:call(?MODULE, get_bucket_sample, infinity).
  
  get_all_nodes() ->
      gen_server:call(?MODULE, get_all_nodes, infinity).
      
      
  init([]) ->
  