commented out a line (in astar, not used) to make code compile