for -> while (closure did this itself so no change to minified file)