Use a global var instead