changed state to stat