implementation of the feedback