removed duplicate isMetric() method