add character encoding
add heading and paragraph to template