shareable search function