added psuedo pathfinding