making a delay with feedback