working search on server