modified BuildCheckpoints tools and some examples using checkpoints