 
 	@available(*, unavailable, message="don't call this method directly")
     override public func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
-		return (self.peripherals == nil ? 0 : self.peripherals!.count)
+		return (self.available == nil ? 0 : self.available!.count)
     }
 
 	@available(*, unavailable, message="don't call this method directly")

public extension DeviceTableViewController {

	internal func scan() {
		Cusp.central.scanForUUID(nil, completion: { (peripherals) -> Void in
			log("\(peripherals)")
			self.peripherals = peripherals.sort({ (peripheralA, peripheralB) -> Bool in
				return peripheralA.name <= peripheralB.name
			})

			}, abruption: { (error) -> Void in
				log(error)
		})


	// MARK: Stored Properties

	var available: [AdvertisementInfo]? {
		didSet {
			self.tableView.reloadData()
		}
