forgot to remove document.createElement line