use newer metrics library