change execution state relevant code