added checkpoints to _validate.php