oh my god I've been writing the wrong var name this whole time. I'm so tired