example from codecs to show decoding