Good use of map.