Search mecnahism debugged