objects in map class