Initial version of feedback loop