changing word frame to 'template'