adding memory map