New search function added

New search function added
Bug fixed