added close enough function