change to document.getElementsByClassName