simple mmap example