GetNearest done