little change to the patient_index