Working with the decoder