change return of findNearest();
change return of findNearest();