updated template to add trailing linebreak