         startScanningForServiceUUIDds(nil, afterPeripheralDiscovered)
     }
     
-    public func startScanningForServiceUUIDds(uuids:[CBUUID]!, afterPeripheralDiscoveredCallback:(peripheral:Peripheral, rssi:Int)->()) {
+    public func startScanningForServiceUUIDds(uuids:[CBUUID]!, afterPeripheralDiscovered:(peripheral:Peripheral, rssi:Int)->()) {
         if !self._isScanning {
             Logger.debug("CentralManager#startScanningForServiceUUIDds")
             self._isScanning = true
-            self.afterPeripheralDiscoveredCallback = afterPeripheralDiscoveredCallback
+            self.afterPeripheralDiscovered = afterPeripheralDiscovered
             self.cbCentralManager.scanForPeripheralsWithServices(uuids,options: nil)
         }
     }

            break
        case .PoweredOff:
            Logger.debug("CentralManager#centralManagerDidUpdateState: PoweredOff")
            if let afterPowerOffCallback = self.afterPowerOffCallback {
                self.asyncCallback(afterPowerOffCallback)
            }
            break
        case .PoweredOn:
            Logger.debug("CentralManager#centralManagerDidUpdateState: PoweredOn")
            if let afterPowerOnCallback = self.afterPowerOnCallback {
                self.asyncCallback(afterPowerOnCallback)
            }
            break
        }

    // power up
    public func powerOn(afterPowerOn:(()->())?, afterPowerOff:(()->())? = nil) {
        Logger.debug("powerOn")
        self.afterPowerOn = afterPowerOn
        self.afterPowerOff = afterPowerOff
        if self.poweredOn() && self.afterPowerOn != nil {
            asyncCallback(self.afterPowerOn!)
        }
    }

