fixing up relationships in the model: