added map utility class