some new interface, sceleton code for pathfinding done