Hmm, perhaps the import of the global isn't necessary. But it does help with clarity.