parser was indexing in the wrong direction >:|