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: legs
before: getting heavy
after: feeling fine
attr: pain

Ex Output:
pain of legs was getting heavy before and feeling fine afterwards

Ex Input:
entity: wax
before: at factory
after: in store
attr: availability

Ex Output:
availability of wax was at factory before and in store afterwards

Ex Input:
entity: iron
before: cold
after: hot
attr: temperature

Ex Output:
temperature of iron was cold before and hot afterwards