Revert "Revert "while naar if""

This reverts commit b96e8992a1ae5c0d301151b594c7c4b1483098a5.