finished with parser debug code