closures have access to the outer function's variable even after the outer function returns