Use separate data variables for storing DOM stack data