now with tentative search function