added in reduce