diagnostics implemented