template registration added