Improved timer.