added a timer.