astar working