 
 public final class SwiftGenStoryboardEnumBuilder {
     private typealias Scene = (storyboardID: String, customClass: String?)
-    private var storyboards = [String : [Scene]]()
+    private var storyboardsScenes = [String : [Scene]]()
+    private var storyboardsSegues = [String: [Scene]]()
 
     
     public init() {}

                    inScene = false
                case "objects" where inScene:
                    readyForFirstObject = false
                default:
                    break;
                }

        }
    }
    
    public func build(enumName enumName: String? = "Scene", indentation indent : SwiftGenIndentation = .Spaces(4)) -> String {
        var text = "// Generated using SwiftGen, by O.Halligon — https://github.com/AliSoftware/SwiftGen\n\n"
        let t = indent.string
        text += commonCode(indentationString: t)

        text += "extension UIStoryboard {\n"
      
        /// Scenes
        let s = enumName == nil ? "" : t
        if let enumName = enumName {
            text += "\(t)enum \(enumName.asSwiftIdentifier()) {\n"
        }
        for (name, scenes) in storyboardsScenes {
            let enumName = name.asSwiftIdentifier(forbiddenChars: "_")
            text += "\(s)\(t)enum \(enumName) : String, StoryboardScene {\n"
            text += "\(s)\(t)\(t)static let storyboardName = \"\(name)\"\n"
