writing to memory, not the disk