Added a method to set the metric