diagnosis is calculated more or less ok