updated encoders