Use lamba function as filter.