for classes