starting to transition stuff to the new global variable thing
moved and stuff