changed each to map of parallel to output log