memory and counter-memory