Well its a little more involved than making em stateless methods, because they are related to each other. I can think of making a "YumAssociationsMaker" class that handles this logic and used each of those variables as member states. Not sure its going to buy us much in terms of readability..