Working in the decoder