add title to document