switch in the search _init method