added checkpoints in.