 		if cell == nil {
 			cell = UITableViewCell(style: UITableViewCellStyle.Default, reuseIdentifier: "reuseIdentifier")
 		}
-		if let peripheral = self.peripherals?[indexPath.row] {
-			cell?.textLabel?.text = peripheral.name
-			cell?.detailTextLabel?.text = String(peripheral.RSSI?.integerValue)
+		if let advInfo = self.available?[indexPath.row] {
+			cell?.textLabel?.text = advInfo.peripheral.name
+			cell?.detailTextLabel?.text = String(advInfo.RSSI.integerValue)
 		}
 
         return cell!

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()
		}
