added reducemany