avoid writing duplicate times to permanent storage.