use a function as as filter param, updated README