Checkpoint (before recursive)
Working version