applied template