add a static method to Timer.