removes old search method