added an additional type to every name_class