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: car
before: unsanded
after: sanded
attr: state

Ex Output:
state of car was unsanded before and sanded afterwards

Ex Input:
entity: player
before: standing
after: attacking
attr: state

Ex Output:
state of player was standing before and attacking afterwards

Ex Input:
entity: feet
before: on ground
after: in air
attr: altitude

Ex Output:
altitude of feet was on the ground before and in the air afterwards