5 'val' is not allowed in old-style for loops