Implementing completely new logic for timer.