nuked stuff, added A* search