made variable non-global scope