     let statusBarItem = NSStatusBar.systemStatusBar().statusItemWithLength(NSSquareStatusItemLength)
     var volumeTap: SPMediaKeyTap!
     
-    var volume_up : String = "http://192.168.178.20/elropi.py?remote=yamaha&command=VOLUME_%2B&amount=10"
-    var volume_down : String = "http://192.168.178.20/elropi.py?remote=yamaha&command=VOLUME_-&amount=10"
-    
-    var airplayDeviceName: String = "Pioneer N-50"
+    var volume_up : String = "http://192.168.178.20/elropi.py?remote=yamaha&command=VOLUME_%2B&amount=5"
+    var volume_down : String = "http://192.168.178.20/elropi.py?remote=yamaha&command=VOLUME_-&amount=5"
+    
+    var airplayDeviceNames: [String] = ["Pioneer USB Audio Device", "Pioneer N-50"]
     
     var increaseNotification: NSUserNotification = NSUserNotification()
     var decreaseNotification: NSUserNotification = NSUserNotification()

            audioObjectPropertyListenerBlock)) {
                print("error while adding audio device listener")
        }
        
        // set up notifications
        increaseNotification.title = "Increasing Volume"
        increaseNotification.informativeText = "Turning up the volume for " + airplayDeviceName
        increaseNotification.soundName = nil
        increaseNotification.contentImage = NSImage(named: "VolumeUpImage")
        
        decreaseNotification.title = "Decreasing Volume"
        decreaseNotification.informativeText = "Turning down the volume for " + airplayDeviceName
        decreaseNotification.soundName = nil
        decreaseNotification.contentImage = NSImage(named: "VolumeDownImage")

    }


    
    func setupVolumeKeyTap() {
        print(getAudioOutputDeviceName(getDefaultAudioOutputDevice()) + " (" + getNameOfActiveDataSourceOfAudioDevice(getDefaultAudioOutputDevice()) + ")")
        if let index = airplayDeviceNames.indexOf(getNameOfActiveDataSourceOfAudioDevice(getDefaultAudioOutputDevice())) {
            increaseNotification.informativeText = "Turning up the volume for " + airplayDeviceNames[index]
            decreaseNotification.informativeText = "Turning down the volume for " + airplayDeviceNames[index]
            volumeTap.startWatchingMediaKeys()
            if let button = statusBarItem.button {
                button.image = NSImage(named: "StatusBarButtonImageEnabled")
