memory is the record of events