Corrected to cover closure binding and scoping properly