add basic document creation