changed innerHTML for speed