working on feedback_encoder_wrapper