distance method with no DistanceType and Attempts typization