complete search operation