added template filters