Express to find the shortest path