Change variable

change situation variable to object attribute