added to astar
added to astar