A* basically done