Made some implementation of search but not working ..