There are many ways of doing it.

What kind of "memory" is it?