added a timer
added a timer