get back global variables

so sad