added new methods which will create a pathfinding