patching with feedback