 
     for cNContactPhoneNumber in cNContact.phoneNumbers {
 
-      var phoneNumber = [String: AnyObject]()
+      var phoneNumber = [String: String]()
 
       let cNPhoneNumber = cNContactPhoneNumber.value 
 
-      phoneNumber["identifier"]  = cNContactPhoneNumber.identifier as AnyObject?
-      phoneNumber["label"]       = CNLabeledValue.localizedString( forLabel: cNContactPhoneNumber.label ?? "" ) as AnyObject?
-      phoneNumber["stringValue"] = cNPhoneNumber.stringValue as AnyObject?
-      phoneNumber["countryCode"] = cNPhoneNumber.value(forKey: "countryCode") as! String as AnyObject?
-      phoneNumber["digits"]      = cNPhoneNumber.value(forKey: "digits") as! String as AnyObject?
+      phoneNumber["identifier"]  = cNContactPhoneNumber.identifier
+      phoneNumber["label"]       = CNLabeledValue<NSString>.localizedString( forLabel: cNContactPhoneNumber.label ?? "" )
+      phoneNumber["stringValue"] = cNPhoneNumber.stringValue
+      phoneNumber["countryCode"] = cNPhoneNumber.value(forKey: "countryCode") as? String
+      phoneNumber["digits"]      = cNPhoneNumber.value(forKey: "digits") as? String
 
       phoneNumbers.append( phoneNumber as AnyObject )
     }

    
  }
  
  @objc func deleteContact(_ identifier: String, callback: (NSObject) -> () ) -> Void {
    
    let contactStore = CNContactStore()
    


    for cNContactEmailAddress in cNContact.emailAddresses {

      var emailAddress = [String: String]()

      emailAddress["identifier"]  = cNContactEmailAddress.identifier
      emailAddress["label"]       = CNLabeledValue<NSString>.localizedString( forLabel: cNContactEmailAddress.label ?? "" )
      emailAddress["value"]       = cNContactEmailAddress.value as String

      emailAddresses.append( emailAddress as AnyObject )
    }
