add metrics (tested)