set to memory mode