added a specific case for options in encoders and decoders