variable y was not declared as local.