         var regionMetaData =  self.metadata.metadataPerCountry[region]!
         
         var extractedCountryCode: ExtractedCountryCode
+        
         do {
             extractedCountryCode = try self.parser.extractCountryCode(nationalNumber, metadata: regionMetaData)
         }

    
    
    func normalizePhoneNumber(number: String) -> String {
        return regex.stringByReplacingOccurrences(number, map: PNPartialFormatterNormalizationMappings, removeNonMatches: true)!
    }

}

            }
            let formatter = Formatter()
            let formattedNationalNumber = formatter.formatNationalNumber(chosenFormat, regionMetadata: regionMetaData, formatType: format)
            var rebuiltString = String()
            var rebuiltIndex = 0
            for character in formattedNationalNumber.characters {
