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

                CheckError(result)
            }
        }
        
    }

    /// Discard all virtual ports

            }
        }
    }

    /// 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
        if uniqueIDS.count >= names.count {
            numberOfVirtualPorts = uniqueIDS.count
        } else {
            numberOfVirtualPorts = names.count
        }

        var unnamedPortIndex = 1
        var unIDPortIndex = 2
        for virtualPortIndex in numberOfVirtualPorts {
