diagnosis method