search function still in progress