Encoder block