holy shit, it parses the basic case correctly (fixed up the accumulator)
it does not handle the slightly more complex case