create filter function stub