modeling an M2M relation