use writeable flag
memmap instead of load