       self.dismiss(animated: true, completion: nil)
     }))
     self.navigationController?.present(actionSheet, animated: true, completion: nil)
+  }
+
+  private func requestRoute() {
+    guard let routingController = try? MapzenRoutingController.controller() else { return }
+    routingController.updateLocale(routingLocale)
+
+    guard let currentLocation = LocationManager.sharedManager.currentLocation, let destination = destination else { return }
+    let startingPoint = OTRRoutingPoint(coordinate: OTRGeoPointMake(currentLocation.coordinate.latitude, currentLocation.coordinate.longitude), type: .break)
+    let endingPoint = OTRRoutingPoint(coordinate: destination, type: .break)
+
+    _ = routingController.requestRoute(withLocations: [startingPoint, endingPoint],
+                                       costingModel: .auto,
+                                       costingOption: nil,
+                                       directionsOptions: ["units" : "miles" as NSObject]) { (routingResult, token, error) in
+                                        print("Error:\(error)")
+                                        self.currentRouteResult = routingResult
+                                        self.routeResultTable?.show(routingResult!)
+
+    }
 
   }
 

  let routeListSegueId = "routeListSegue"
  var routeResultTable : RouteDisplayViewController?
  var currentRouteResult: OTRRoutingResult?
  private var routingLocale = Locale.current

  override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
    guard let identifier = segue.identifier else {

    }
  }

  // MARK : RoutingSearchDelegate
  func selected(_ location: PeliasMapkitAnnotation) {
    print("Selected \(location.title)")
    searchBar.text = location.title
    destination = OTRGeoPointMake(40.7444892, -73.9900082)
    requestRoute()
  }

  // MARK : private
