mmap homework thing