linked map and nmap