add the timer queue code