customize flexibleSearch