linking to the compressor and encoder