metric functions

1