adding template usage