implemented the metrics for the internal vars