metrics working