added metrics/analytics