 
     override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
         // #warning Incomplete implementation, return the number of rows
-        return usernames.count
+        return locations.count
     }
 
     override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
         let cell = tableView.dequeueReusableCellWithIdentifier("requestCell", forIndexPath: indexPath)
 
-        cell.textLabel!.text = usernames[indexPath.row]
+        let loc     = locations[indexPath.row]
+        let place   = String(format: "%.2f %.2f", arguments: [Double(loc.latitude), Double(loc.longitude)])
+        let distance = renderDistance(distances[indexPath.row])
+
+        cell.textLabel!.text = "\(usernames[indexPath.row]) \(distance) (\(place))"
 
         return cell
+    }
+
+    func renderDistance(dist: CLLocationDistance) -> String {
+        let d = Double(dist)
+
+        if d < 1200.0 {
+            return String(format: "%.0fm", arguments: [d])
+        }
+
+        return String(format: "%.1fKm", arguments: [d / 1000.0])
     }
 
     override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {


class DriverViewController: UITableViewController, CLLocationManagerDelegate {

    var usernames    = [String]()
    var locations   = [CLLocationCoordinate2D]()

    override func viewDidLoad() {
        super.viewDidLoad()

        loadRequests()
    }

    // MARK: - Table view data source

                                    let cloc = CLLocationCoordinate2DMake(loc.latitude, loc.longitude)

                                    self.locations.append(cloc)

                                    let reqLoc = CLLocation(latitude: cloc.latitude, longitude: cloc.longitude)
                                    let drvLoc = CLLocation(latitude: (dloc?.latitude)!, longitude: (dloc?.longitude)!)

                                    self.distances.append(drvLoc.distanceFromLocation(reqLoc))
                                }
                            }
                        }
