attempt number 4 for global vars