more work on pathFinding