i think you can use `writeStringToMemory` here