Global variable related examples added