make searchFilter customizable