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: testicles
before: loose
after: contained
attr: state
Example Output: state of testicles was loose before and contained afterwards

Example Input: entity: mirror
before: broken
after: reflective
attr: mirror
Example Output: mirror of mirror was broken before and reflective afterwards

Example Input: entity: grapefruit
before: cold
after: hot
attr: temperature
Example Output:
temperature of grapefruit was cold before and hot afterwards