add EncodeManager