implemented a simple printer for the metrics.