working out the rates part of the UPS api