help needed to do mmap