introduce option handling for encoders