checkpoint modifications for speedup