created associations between the models