changed innerText to textContent