Just write closed functions when you want closed functions.
at least now I know why. Thanks for your explanation! -- .