add saving halfway