record start time in advance