added some useful debugging checkpoints