           rsp.event = event
           
           // capture this message into the dictionary of latest messages
-          latestVehicleMeasurements.setValue(rsp, forKey:name as String)
+          //latestVehicleMeasurements.setValue(rsp, forKey:name as String)
+          latestVehicleMeasurements[name] = rsp
           
           // look for a specific callback for this measurement name
           var found=false

          rsp.name = name
          
          // capture this message into the dictionary of latest messages
          latestVehicleMeasurements.setValue(rsp, forKey:name as String)
          
          // look for a specific callback for this measurement name
          var found=false

          }
          
          // capture this message into the dictionary of latest messages
         // latestVehicleMeasurements.setValue(rsp, forKey:name as String)
          latestVehicleMeasurements[name] = rsp
          
          // look for a specific callback for this measurement name
          var found=false
          for key in measurementCallbacks.keys {
            let act = measurementCallbacks[key]
           // if act!.returnKey() as String == name {
           if act!.returnKey() == name {
            found=true
              act!.performAction(["vehiclemessage":rsp] as NSDictionary)
            }
          }
