implement hasMany associations