one less global variable