resolving many to many relationships l.