addPLuginForSearchFunction