predictive search working