I was SO CLOSE, and then FUCKING POINTERS!

FUCK YOU C++