note about global variables