refactoring (introducing AssociationSet - step 2)