route search method