template data scanning