Does this loop need to handle other cases of unfolding?