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.
Q: entity: cookies 
before: raw 
after: cooked 
attr: state
A: 
state of cookies was raw before and cooked afterwards