coding decoding example