assignment half done, search done