Exeercise 5.5 Metric