having some trouble finding the closest one