notes on scopes and closures slides