add base template
add filter init
add filter