Forward/back encoders now working