i think just move it out of global scope so it only fails if you call the function that uses it?