function-call ignoring `for`