why did you make this into a global?