added comment to astar