adding the patient class