Adaptive memory: thinking about function.