- first prototype for pathfinding