change variable name context to state