added global var example