decoding region state