search function more or less works
search function more or less works