encoder_initialize