add checkpoints and output file for scenario 3