How to have a retentive memory