many-to-many relationships partially implemented