added accurate timer.