updates to store the element, element type, year, month, day, and hour, adds necessary tests