anchor.diff:  			FromSameFile=from_same_file(Rs),
                           AU= get_anti_unifier(Info, FromSameFile),
                           {Rs1, AU1} = attach_fun_call_to_range(Rs, AU, FromSameFile),
  -                        {Rs1, {Len, Freq}, AU1}
  +                        {Rs1, {Len, length(Rs1)}, AU1}
   		    end
  -		    || {Rs, {Len, Freq}, Info} <- Clones],
  -    ClonesWithAU.
  -  
  +		    || {Rs, {Len, _}, Info} <- Clones],
  +    [{Rs1, {Len, F}, AU1}||{Rs1, {Len, F}, AU1}<-ClonesWithAU,
  +                           F>=Thresholds#threshold.min_freq].
  + 
   
   attach_expr_ast_to_ranges(Rs, ASTTab) ->
       [{R, ExpAST}||R={ExprKey, _Toks, _Loc, _IsNew}<-Rs, 
  
positive.code: attach_fun_call_to_range(RangesWithAST,{AU, Pars}, FromSameFile) ->
      RangesWithFunCalls=[generate_fun_call_1(RangeWithAST, AU, FromSameFile) 
  			|| RangeWithAST <- RangesWithAST],
      {RangesWithFunCalls,{simplify_anti_unifier(AU),Pars}}.
  
  generate_fun_call_1(RangeWithAST, AUForm, FromSameFile) ->
      {Range, Exprs} = lists:unzip(RangeWithAST),
  
negative.code: clone_check_loop(Cs, CandidateClassPairs, Tabs) ->
      receive
  	{add_clone,  {Candidate, Clones}} ->
              Clones1=[get_clone_class_in_absolute_locs(Clone) 
  		     || Clone <- Clones],
              lists:foreach(fun(C) ->
                                    {_, {Len, Freq}, AntiUnifier,AbsRanges}=C,
  