more work on metrics