hasMany works