I'm allergic to global variables, can this be made into a scoped variable?