add title to template