removed logging lines, metricvalue