adding template filter