some refactoring on retrieving an entity for action and reaction