how to make agents affect each other