diagnosing an