build the map