The way you remember the past depends upon your hope for the future