                 "\(tab1)let storyboard = UIStoryboard(name: \"\(storyboard.storyboardName)\", bundle: nil) ",
                 "\(tab1)let viewController = storyboard.instantiateInitialViewController() as! \(name)",
                 "\(tab1)return viewController",
-                "}"
+                "\(tab1)}"
                 ].joined(separator: newLine)
         }
         

        }
        
        let overrideOrEmpty = makeOverrideIfNeededForFromStoryboardFunction(from: storyboard) ?? ""
        let head = "\(overrideOrEmpty) \(accessControl) class func "
        if storyboardInfos.filter({ $0.storyboardName == storyboard.storyboardName }).count > 1 {
            return [
                head + "instanceFrom\(storyboard.storyboardName + storyboard.storyboardIdentifier)() -> \(className.name) {",
                "\(tab1)let storyboard = UIStoryboard(name: \"\(storyboard.storyboardName)\", bundle: nil) ",
                "\(tab1)let viewController = storyboard.instantiateViewController(withIdentifier: \"\(storyboard.storyboardIdentifier)\") as! \(name)",
                "\(tab1)return viewController",
                "}"
            ].joined(separator: newLine)
        }
        
        return [
            head + "instanceFrom\(storyboard.storyboardName)() -> \(className.name) {",
            "\(tab1)let storyboard = UIStoryboard(name: \"\(storyboard.storyboardName)\", bundle: nil) ",
            "\(tab1)let viewController = storyboard.instantiateViewController(withIdentifier: \"\(storyboard.storyboardIdentifier)\") as! \(name)",
            "\(tab1)return viewController",
            "}",
        ].joined(separator: newLine)
    }
    
    fileprivate func fromStoryboardForInitial(from storyboard: ViewControllerInfoOfStoryboard) -> String {
        let overrideOrEmpty = makeOverrideIfNeededForFromStoryboardFunction(from: storyboard) ?? ""
        let head = "\(overrideOrEmpty) \(accessControl) class func "
        
        if storyboardInfos.filter ({ $0.isInitial }).count > 1 {
            return [

            "\(tab1)let storyboard = UIStoryboard(name: \"\(storyboard.storyboardName)\", bundle: nil) ", 
            "\(tab1)let viewController = storyboard.instantiateInitialViewController() as! \(name)",
            "\(tab1)return viewController",
            "\(tab1)}"
            ].joined(separator: newLine)
    }
}
