needed a global variable