many-to-many relationships now working