timeglider code