Implemented reduce support