add checkpoints.

M