add filter template (needs some more tweaking)