deleted old GlobalTimer and changed NewGlobalTimer to GlobalTimer