added `filter` function option.