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: swimming skills
before: dull
after: sharpened
attr: skill
Example Output: skill of swimming skills was dull before and sharpened afterwards

Example Input: entity: you
before: logged out
after: logged in
attr: state
Example Output: state of you was logged out before and logged in afterwards

Example Input: entity: sanding machine
before: unavailable
after: purchased, borrowed or rented
attr: availability
Example Output:
availability of sanding machine was unavailable before and purchased, borrowed or rented afterwards