pass template name in the filter