Adding the Timer class