removed the old search method