switched from multiple mmap to one