wait is exported as `for`