Added the Timer code