added some notes on how to store global variables