hopefully got metrics working