DistanceException updated