messed around with closest distance to test it