removed astar functions