Finish automation of Djikstra's