for the decoding process only