remove old search function