checkpointing at repeat