simplify search fn in brico