example 5-2: adding a paragraph element