In general, what is the purpose of a checkpoint in the cell cycle