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.

Ex Input:
entity: gears
before: unengaged
after: engaged
attr: orientation

Ex Output:
orientation of gears was unengaged before and engaged afterwards

Ex Input:
entity: ball
before: loose
after: in barrel
attr: locatin

Ex Output:
locatin of ball was loose before and in barrel afterwards

Ex Input:
entity: rocks
before: in place
after: around perimeter of pit
attr: location

Ex Output:
location of rocks was in their place before and around perimeter of pit afterwards