added template for metrics