adding document::text