changed .text to .innertext