start eleminating the global Sandglass variable