changes to hosp repo impl