for last checkpoint