almost finish search