class dia extension