checkpointing before exercises