change the map to series instead of parapllel