Updated checkpoints.cpp