Refactor to use globals