note when learning dijkstra