Added sample for global variables.