Added filterfunction template, need to add "add filter func"