add history to record the timestamp