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: bag
before: flat
after: rounded
attr: shape

Ex Output:
shape of bag was flat before and rounded afterwards

Ex Input:
entity: composting bins
before: in pieces
after: built
attr: composition

Ex Output:
composition of composting bins was in pieces before and built afterwards

Ex Input:
entity: water
before: off
after: on
attr: state

Ex Output:
state of water was off before and on afterwards