removing metrics dependency