migrants calc changed from list to dict