added some notes on closures