                     let blobData       = self.convertImageToFloatArray(blob.0, resize: true)
                     let networkResult  = try self.network.update(inputs: blobData)
                     
+                    //Generate Output Character
+                    
                     if networkResult.maxElement() >= self.confidenceThreshold {
+                        /*
                         let recognizedChar = Array(recognizableCharacters.characters)[networkResult.indexOf(networkResult.maxElement() ?? 0) ?? 0]
                         recognizedString.append(recognizedChar)
+                        */
+                        
+                        for (networkIndex, _) in networkResult.enumerate().sort({$0.0.element > $0.1.element}) {
+                            let character = indexToCharacter(networkIndex)
+                            
+                            print(character)
+                            
+                            guard checkWhiteAndBlackListForCharacter(character) else {
+                                continue
+                            }
+ 
+                            
+                            print(character)
+                            recognizedString.append(character)
+                            break
+                        }
                     }
                     
                     //Generate SwiftOCRRecognizedBlob

    
    public   func recognize(image: OCRImage, _ completionHandler: (String) -> Void){
        
        func checkWhiteAndBlackListForCharacter(character: Character) -> Bool {
            let whiteList =   characterWhiteList?.characters.contains(character) ?? true
            let blackList = !(characterBlackList?.characters.contains(character) ?? false)

                    
                    for networkResultIndex in 0..<networkResult.count {
                        let characterConfidence = networkResult[networkResultIndex]
                        let character           = indexToCharacter(networkResultIndex)
                        
                        guard characterConfidence >= ocrRecognizedBlobConfidenceThreshold && checkWhiteAndBlackListForCharacter(character) else {
                            continue
