initial cut for memory write