revise for start timestamp and stop timestamp