added samples to setTextContent and textContent methods