changes state character