for time measurement.