add to document