pmemory.write now adds