use textContent instead of innerText
add options object and boundary option