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: ice
before: in freezer
after: shaker
attr: location
Example Output: location of ice was in freezer before, and shaker afterwards.

Example Input: entity: potato
before: white
after: browned
attr: color
Example Output: color of potato was white before and browned afterwards

Example Input: entity: the pan
before: heavier
after: lighter
attr: weight
Example Output:
weight of the pan was heavier before and lighter afterwards