first stab at mmap write