realized you don't needto pass globals.  removed from function parameters