confirmed dijkstra work