marked methods const
pathfinding draft