added hasMany relationships to file