mods adding metrics and mapRed