Searching for the start of the route