Managed to get parser to fully run with wrong results...but at least it runs...