Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity.

Example Input: entity: heart rate
before: high
after: low
attr: intensity
Example Output: intensity of heart rate was high before and low afterwards

Example Input: entity: torso
before: flat on ground
after: bent towards knees
attr: shape
Example Output: shape of torso was flat on ground before and bent towards knees afterwards

Example Input: entity: chicken
before: in package
after: in dish
attr: location
Example Output:
location of chicken was in a package before and in a dish afterwards