make global variable static