now if only I could fix path finding