changed hasMany belongsTo to hasMany hasMany