added relationships to model