finished finding nearest