The interior function is closing more than the absolutely free variable and that is why it is known as 'closure'. A free variable is usually a variable that is definitely outside the house the inner function and passed to the internal by means of docorator. I came across this problem https://propertyingurugram.in/gurugram-a-fast-growing-market-for-real-estate-investors-with-plenty-of-opportunities/