anchor.diff:  
   
   get_anti_unifier(TmpASTTab, {ExprKeys, SubSt, ExportVars}) ->
  -    Exprs1 = [ExpAST || {ExprKey, _,_} <- ExprKeys, {_Key, ExpAST} <- ets:lookup(TmpASTTab, ExprKey)],
  +    Exprs1 = [ExpAST || {ExprKey, _,_,_} <- ExprKeys, {_Key, ExpAST} <- ets:lookup(TmpASTTab, ExprKey)],
  +    refac_io:format("ExportVars:\n~p\n", [ExportVars]),
       refac_prettypr:format(anti_unification:generate_anti_unifier(Exprs1, SubSt, ExportVars)).
   
   
      
   get_clone_member_start_end_loc(Range)->
  -    {{File, _, _, _}, _Toks, {{StartLine, StartCol},_}} = hd(Range),
  -    {_ExprKey1, _Toks1,{EndLine, EndCol}}= lists:last(Range),
  -    {{File, StartLine, StartCol}, {File, EndLine, EndCol}}.
  +    {{File, _, _, _}, _Toks, {{{Line1, Col1},_},StartLine},_} = hd(Range),
  +    {_ExprKey1, _Toks1,{{_, {Line2, Col2}}, StartLine},_}= lists:last(Range),
  +    {{File, Line1+StartLine-1, Col1}, {File, Line2+StartLine-1, Col2}}.
     
   get_clone_class_in_absolute_locs({Ranges, {Len, Freq}, AntiUnifier}) ->
        StartEndLocs = [get_clone_member_start_end_loc(R) || R <- Ranges],
       {Ranges, {Len, Freq}, AntiUnifier,StartEndLocs}.
   
  -get_expr_list(ExprKeys=[{{_FName, _FunName, _Arity, _Index}, _Toks, _StartEndLoc}|_T], ASTTab)->
  -    [ExpAST||{ExprKey,_,_}<-ExprKeys, {_Key, ExpAST}<-ets:lookup(ASTTab, ExprKey)].
  +get_expr_list(ExprKeys=[{{_FName, _FunName, _Arity, _Index}, _Toks, {_StartEndLoc, _StartLine}, _IsNew}|_T], ASTTab)->
  +    [ExpAST||{ExprKey,_,_,_}<-ExprKeys, {_Key, ExpAST}<-ets:lookup(ASTTab, ExprKey)].
    
   
   get_vars_to_export(Es, {FName, FunName, Arity}, VarTab) ->
       AllVars = ets:lookup(VarTab, {FName, FunName, Arity}),
  +    refac_io:format("AllVars:\n~p\n", [AllVars]),
       {_, EndLoc} = refac_misc:get_start_end_loc(lists:last(Es)),
  +    refac_io:format("\nEndLoc:\n~p\n", [EndLoc]),
         case AllVars of
   	  [] -> [];
   	  [{_, _, Vars}] ->
  
positive.code: %% OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
  %% ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  %% ===========================================================================================
  %% Purpose: Incremental, and on-line, similar code detection for Erlang programs.
  %%
  %% Author contact: hl@kent.ac.uk, sjt@kent.ac.uk
  %% 
  -module(refac_inc_sim_code).
  
negative.code: 		     false -> atom_to_list(I)
  		 end
  	 end,
      F = fun ({Elem, I}) ->
  		lists:duplicate(length(F0(I)), {I, Elem})
  	end,
      refac_io:format("Data:\n~p\n", [Data]),
      IndexStr = lists:append([F0(I) || {_, I} <- Data]),
      SuffixTreeExec = filename:join(?WRANGLER_DIR, "bin/suffixtree"),
      Cs = suffix_tree:get_clones_by_suffix_tree(Dir, IndexStr ++ "&", MinLen, 
  