added metrics tracker