anchor.diff:  -include("trecords.hrl").
   -include("../chordsharp.hrl").
   
  --export([new_tm_state/4, get_vote/3, store_vote/4, get_vote_acks/1, get_vote_acks/2, get_vote_acks/3, store_vote_acks/4, get_read_vote_acks/1, get_read_vote_acks/3, store_read_vote_acks/4, get_decision/3, store_decision/4, new_tm_item/4, new_translog/0, new_tm_message/2, new_vote/5, create_items/1]).
  -
  +-export([new_tm_state/4, get_vote/3, store_vote/4, get_vote_acks/1, get_vote_acks/2, get_vote_acks/3, store_vote_acks/4, get_read_vote_acks/3, store_read_vote_acks/4, new_tm_item/4, new_translog/0, new_tm_message/2, new_vote/5, create_items/1]).
  +%get_decision/3, store_decision/4, 
  +%get_read_vote_acks/1, 
   -import(dict).
   -import(lists).
   -import(?RT).
  
positive.code: 	      votes = NewVotes,
  	      vote_acks = NewVoteAcks,
  	      read_vote_acks = NewRVAcks,
  	      decisions = NewDecisions,
  	      rtms_found = false,
  	      tps_found = false,
  	      status = collecting,
  
negative.code: 				       RVAcksReplica = lists:foldl(fun(Elem, Acc) ->
  									   dict:store(Elem, [], Acc)
  								   end,
  								   %RVAcksDict,
  								   MyRVAcks,
  								   RKeys),
  %% 				       DecReplica = lists:foldl(fun(Elem, Acc)->
  %% 									dict:store(Elem, undecided, Acc)
  %% 								end,
  %% 								DecRepDict,
  %% 								RKeys),
  				       
  				    {VotesReplica,%dict:store(Key, VotesReplica, MyVotes), 
  				     dict:store(Key, AcksReplica, MyAcks),
  				     MyRVAcks,%dict:store(Key, RVAcksReplica, MyRVAcks),
  				     MyDec %dict:store(Key, DecReplica, MyDec)
  				    }
  			    end,
  			    {Votes, Acks, RVAcks, Decisions},
  			    Items),
  