Removes old search function