added examples to insert text and nodes