What is the role of memory ?