diag classes