AStar working