introduced a variable to a function