adds annotation to document