periodic checkpoint seems to work