Memory in humans works most like which of the following?