entity: code 
before: blue, orange(2), blue, orange(2), blue, orange(2), blue 
after: blue, yellow, orange, red, orange, yellow, red, yellow, red 
attr: state
state of code was blue, orange(2), blue, orange(2), blue, orange(2), blue before and blue, yellow, orange, red, orange, yellow, red, yellow, red afterwards