added a timer