     public var midiOutPort = MIDIPortRef()
 
     // virtual midi source (output)
-    public var virtOutput = MIDIPortRef()
+    public var virtualOutput = MIDIPortRef()
 
     
     /// Array of MIDI Endpoints

        }
        
        
        result = MIDISourceCreate(midiClient, midiClientName, &virtOutput);
        if result == OSStatus(noErr) {
            print("Created virt source: \(midiClientName)")
            MIDIObjectSetIntegerProperty(virtualInput, kMIDIPropertyUniqueID, uniqueId + 1)
        }
        else {
            print("Error creating virtual source: \(midiClientName) -- \(virtOutput)")
        }

    

        }

        if virtualInput != 0 {
            MIDIEndpointDispose(virtualOutput)
            virtualInput = 0
        }
    }
