adding template files in