anchor.diff:  		rated = Rated} = State)
   		when is_list(RoamingTable), is_list(ServiceNetwork) ->
   	Table = list_to_existing_atom(RoamingTable),
  -	case catch ocs:find_sn_network(Table, ServiceNetwork) of
  -		{_, _, Description, Amount} ->
  +	case catch ocs_gtt:lookup_last(Table, ServiceNetwork) of
  +		{Description, Amount, _} when is_integer(Amount) ->
   			case Amount of
   				N when N >= 0 ->
   					rate5(Protocol, Service, Buckets,
  
positive.code: 			throw(price_not_found)
  	end;
  rate2(Protocol, Service, Buckets, Timestamp, _Address, _Direction,
  		#offer{price = Prices}, Flag, DebitAmounts, ReserveAmounts, State) ->
  	F = fun(#price{type = tariff, units = octets}) ->
  				true;
  			(#price{type = usage}) ->
  
negative.code: 		State#state{rated = #rated{product = OfferName}}).
  %% @hidden
  rate2(Protocol, Service, Buckets, Timestamp, Address,
  		Direction, #offer{specification = ProdSpec, price = Prices} = Offer,
  		Flag, DebitAmounts, ReserveAmounts, State)
  		when ProdSpec == "10"; ProdSpec == "11" ->
  	F = fun(#price{type = usage, units = messages}) ->
  