             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)
     }
-    
-    public func createMultipleVirtualInputPorts(_ uniqueIDs: [Int32]? = nil , names: [String]? = nil) {
+
+    /// 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

        } else {
            numberOfVirtualPorts = names.count
        }
        
        var unnamedPortIndex = 1
        var unIDPortIndex = 1
        for virtualPortIndex in numberOfVirtualPorts {

               virtualPortsName = String(\(clientName) \(unnamedPortIndex))
               unnamedPortIndex += 1
           }

           let result = MIDISourceCreate(client, virtualPortname as CFString, &virtualOutput)
            if result == noErr {
                // Auto Attribute uniqueID if uniqueIDs.count < names.count
