only set timestamp at one place.