diagnoses segments working