for a memory