method getRoute