replace ViewData with M (map)