The interaction between memory types