flattenMap->map