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


    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        // #warning Incomplete implementation, return the number of rows
        return usernames.count
    }

    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCellWithIdentifier("requestCell", forIndexPath: indexPath)

        cell.textLabel!.text = usernames[indexPath.row]

        return cell
    }

    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {


    func loadRequests() {
        PFGeoPoint.geoPointForCurrentLocationInBackground {
            (dloc, error) -> Void in

            if error == nil {
                self.driverLocation = CLLocationCoordinate2DMake((dloc?.latitude)!, (dloc?.longitude)!)

                self.usernames.removeAll(keepCapacity: true)
                self.locations.removeAll(keepCapacity: true)
                self.distances.removeAll(keepCapacity: true)

                let reqQuery = PFQuery(className: "RideRequest")

                reqQuery.whereKey("location", nearGeoPoint: dloc!)
                reqQuery.limit = 10

                reqQuery.findObjectsInBackgroundWithBlock {
                    (objects, error) -> Void in
