anchor.diff:              {reply, {ok, [H|T]}, State}
       end;
   
  +%% @doc Return active transactions in prepare state with their preparetime
   handle_command({get_active_txns},_Sender, #state{active_tx=Active}=State) ->
       %%ActiveTxs = [{active,{TxId, Snapshottime}}]
       ActiveTxs = ets:lookup(Active, active),
  -    lager:info("ActiveTxs: ~p", [ActiveTxs]),
  -    %% ActiveTxsFiltered = lists:foldl( fun({active, {TxId, Snapshottime}}, Txns) ->
  -    %%                                          lists:append(Txns,[{TxId, Snapshottime}]) end,
  -    %%                                  [],
  -    %%                                  ActiveTxs),
  -    %% lager:info(" Active Txns after filtered ~p",[ActiveTxsFiltered]),
  +    lager:info("ActiveTxs: ~p", [ActiveTxs]),    
       {reply, {ok, ActiveTxs}, State};
   
   handle_command(Message, _Sender, State) ->
  
positive.code:             {reply, {error, timeout}, State}
      end;
  
  handle_command({prepare, Transaction}, _Sender, #state{ partition = _Partition,
                                                          active_tx=ActiveTx, committed_tx=CommittedTx,
                                                          active_txs_per_key=ActiveTxPerKey, prepared_tx=PreparedTx, write_set=WriteSet}=State) ->
      TxId = Transaction#transaction.txn_id,
  
negative.code:             {reply, {error, timeout}, State}
      end;
  
  handle_command({abort, TxId}, _Sender, #state{partition=Partition}=State) ->                                              
      LogId=log_utilities:get_logid_from_partition(Partition),
      Result = floppy_rep_vnode:append(LogId, {TxId, aborted}), 
      case Result of
          {ok,_} ->
  