moved rangeFinder to a separate file