implemented Combine and Reduce in DS