checkpoint. working on naive bucketing.