add new encoders code