removed yet another global variable