mmap reader added