added ADiagnostic class