Added prototype for metrics