finish grabbing everything needed from the DOM