removed first parameter of reduce methods.