Encoder corrected