checkpointing some parser work