encoding not decoding