use metric handlers