created the map and added weights