modified hybrid algorithm with feedback.