made pathfinding better