anchor.diff:  	Balance = 0, %% ??
   	try
   		[UsedUnits] = Request#'diameter_cc_app_CCR'.'Used-Service-Unit',
  -		#'diameter_cc_app_Used-Service-Unit'{'CC-Total-Octets' = Total,
  -				'CC-Input-Octets' = In, 'CC-Output-Octets' = Out} = UsedUnits,
  +		#'diameter_cc_app_Used-Service-Unit'{'CC-Total-Octets' = [Total],
  +				'CC-Input-Octets' = [In], 'CC-Output-Octets' = [Out]} = UsedUnits,
   		Usage = case Total of
   			[T] when is_integer(T) ->
   				T;
  
positive.code: 	{UsedType, UsedUsage} = case USU of
  		#'diameter_cc_app_Used-Service-Unit'{'CC-Time' = CCTime} when CCTime =/= [] ->
  			{seconds, CCTime};
  		#'diameter_cc_app_Used-Service-Unit'{'CC-Total-Octets' = CCTotalOctets,
  					'CC-Output-Octets' = CCOutputOctets, 'CC-Input-Octets' = CCInputOctets} when
  				is_integer(CCTotalOctets), is_integer(CCInputOctets), is_integer(CCOutputOctets) ->
  			{octets, CCTotalOctets};
  		[] ->
  
negative.code: 			throw(multiple_service_credit_control_avp_not_available)
  	end,
  	{UsedType, UsedUsage} = case USU of
  		#'diameter_cc_app_Used-Service-Unit'{'CC-Time' = [UsedCCTime]} when UsedCCTime =/= [] ->
  			{seconds, UsedCCTime};
  		#'diameter_cc_app_Used-Service-Unit'{'CC-Total-Octets' = [UsedCCTotalOctets],
  					'CC-Output-Octets' = [UsedCCOutputOctets], 'CC-Input-Octets' = [UsedCCInputOctets]} when
  				is_integer(UsedCCTotalOctets), is_integer(UsedCCInputOctets), is_integer(UsedCCOutputOctets) ->
  			{octets, UsedCCTotalOctets};
  		[] ->
  