search is working but not finished