search through dustance