repo for DistanceCalculator