added map for classes