map class now holds map name as string