CALCULATE-DISTANCE ------------------ index 29