             }
         }
     }
-    
-    public func createMultipleVirtualOutputPorts(_ uniqueIDs: [Int32]? = nil , names: [String]? = nil) {
+
+    /// Create multiple virtual MIDI output ports
+    public func createMultipleVirtualOutputPorts(_ uniqueIDs: [Int32]? = nil, names: [String]? = nil) {
         destroyVirtualOutputPort()
         // Determine the number of virtualPorts to create by the size of the biggest list between uniqueIDs and Names
-        var numberOfVirtualPorts : Int
+        var numberOfVirtualPorts: Int
         if uniqueIDS.count >= names.count {
             numberOfVirtualPorts = uniqueIDS.count
         } else {
             numberOfVirtualPorts = names.count
         }
-        
+
         var unnamedPortIndex = 1
         var unIDPortIndex = 2
         for virtualPortIndex in numberOfVirtualPorts {

                CheckError(result)
            }
        }
        
    }

    /// Discard all virtual ports

            CheckError(result)
        }
    }

     /// Create multiple set of virtual input and output MIDI ports
    public func createMultipleVirtualPorts(_ uniqueIDs: [Int32]? = nil, names: [String]? = nil) {
        Log("Creating multiple virtual input and output ports", log: OSLog.midi)
        destroyVirtualPorts()
        createMultipleVirtualInputPorts(name: name)
        createMultipleVirtualOutputPorts(name: name)
    }

    /// Create multiple virtual MIDI input ports
    public func createMultipleVirtualInputPorts(_ uniqueIDs: [Int32]? = nil, names: [String]? = nil) {
        destroyVirtualInputPort()
        // Determine the number of virtualPorts to create by the size of the biggest list between uniqueIDs and Names
        var numberOfVirtualPorts : Int
