added map class