testing local vs global using ::, with same variable name