renamed treatmentType to treatment