removed template filter function call