filtering added on templates