additions for map class