add func insert current time