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.

Input: Consider Input: entity: faceplate
before: attached to backplate
after: removed from backplate
attr: orientation

Output: orientation of faceplate was attached to backplate before and removed from backplate afterwards

Input: Consider Input: entity: gender
before: undetermined
after: determined
attr: state

Output: state of gender was undetermined before and determined afterwards

Input: Consider Input: entity: the button
before: unclicked
after: clicked
attr: state
Output: state of the button was unclicked before and clicked afterwards