var declaration for enclosing function