Bug: named a function "for" (reserved word).