us for the encoder