moving creating encoders section