add checkpoint is working