Added reduce.h