Revert "while naar if"

This reverts commit 6363085f1b0536aa994413876f9b57a1de5bd4b1.