written concurrent getRoute method