dijkstra option added