OK here it seems to make some sense to be global since it looks like some persistent state.