"local" is not defined somewhere?