almost complete search