variable scoping and closures blog part 1