improving path finding