worked on establishing model relationships