broken, working on hasMany issue