Updated global variable sample