working on astar