combine the map and join