add filters to templaes