this looks like it uses the old metrics package