anchor.diff:  	{BytesBuckets, AccBalance1} = case lists:filter(Fbytes, Buckets1) of
   		[] ->
   			{[], AccBalance};
  -		BucketList1 ->
  +		BucketList1 when is_list(BucketList1) ->
   			AccBal1 = build_acc(BucketList1, "accumulated octets", octets,
  -					ProdRef, AccBalance),
  +					ProdRef, application:get_env(ocs, threshold_bytes), AccBalance),
   			{BucketList1, AccBal1}
   	end,
   	Fseconds = fun(#bucket{units = seconds}) ->
  
positive.code: 	ocs_event:notify(accumulated, AccBlance, balance).
  
  %% @private
  accumulated_balance(Buckets, ProdRef) when is_list(Buckets) ->
  	Fcents = fun(#bucket{units = cents}) ->
  				true;
  			(_) ->
  
negative.code: 	{CentsBuckets, AccBalance} = case lists:filter(Fcents, Buckets) of
  		[] ->
  			{[], []};
  		BucketList when is_list(BucketList) ->
  			AccBal = build_acc(BucketList, "accumulated cents", cents,
  					ProdRef, application:get_env(ocs, threshold_cents), []),
  			{BucketList, AccBal}
  	end,
  	Fbytes = fun(#bucket{units = octets}) ->
  