DECODER_IMPLEMENTATION