     public mutating func inititialize(dict: Dictionary<String, JSON>) {
         
         // check for values and assign them if not empty
-        if let tempAltitude = dict[Fields.altitude]?.string {
+        if let tempAltitude = dict[Fields.altitude]?.floatValue {
             
-            if tempAltitude != "" {
-                
-                if let doubleNumberAltitute = Double(tempAltitude) {
-                    
-                    altitude = doubleNumberAltitute
-                }
-            }
+            altitude = Double(tempAltitude)
         }
         
-        if let tempAltitudeAccuracy = dict[Fields.altitudeAccuracy]?.string {
+        if let tempAltitudeAccuracy = dict[Fields.altitudeAccuracy]?.floatValue {
             
-            if tempAltitudeAccuracy != "" {
-                
-                if let doubleNumberAltitudeAccuracy = Double(tempAltitudeAccuracy) {
-                    
-                    altitude_accuracy = doubleNumberAltitudeAccuracy
-                }
-            }
+            altitude_accuracy = Double(tempAltitudeAccuracy)
         }
         
-        if let tempLatitude = dict[Fields.latitude]?.string {
+        if let tempLatitude = dict[Fields.latitude]?.floatValue {
             
-            if tempLatitude != "" {
-                
-                if let doubleNumberLatitude = Double(tempLatitude) {
-                    
-                    latitude = doubleNumberLatitude
-                }
-            }
+            latitude = Double(tempLatitude)
         }
-        if let tempHeading = dict[Fields.heading]?.string {
+        if let tempHeading = dict[Fields.heading]?.stringValue {
             
             heading = tempHeading
         }
         
-        if let tempShared = dict[Fields.shared]?.string {
+        if let tempShared = dict[Fields.shared]?.stringValue {
             
             if tempShared != "" {
                 

                }
            }
        }
        if let tempAccuracy = dict[Fields.accuracy]?.string {
            
            if tempAccuracy != "" {
                
                if let doubleNumberAccuracy = Double(tempAccuracy) {
                    
                    accuracy = doubleNumberAccuracy
                }
            }
        }
        if let tempLongitude = dict[Fields.longitude]?.string {
            
            if tempLongitude != "" {
                
                if let doubleNumberLongitude = Double(tempLongitude) {
                    
                    longitude = doubleNumberLongitude
                }
            }
        }
        if let tempSpeed = dict[Fields.speed]?.string {
            
            if tempSpeed != "" {
                
                if let doubleNumberSpeed = Double(tempSpeed) {
                    
                    speed = doubleNumberSpeed
                }
            }
        }
    }
    

    
    // MARK: - JSON Mapper
    
    /**
     Returns the object as Dictionary, JSON
     
     - returns: Dictionary<String, String>
     */
    public func toJSON() -> Dictionary<String, Any> {
        
        return [
