added seed back into reduce, added pipeline
curry