improved give_feedback