As we use this array in many places, I would suggest to define it as a global variable.